{% extends "base.html" %}
{% load i18n %}

{% block title %}{% trans "Kategorien-Übersicht | fha-django-gallery" %}{% endblock %}

{% url category_index as category_index %}

{% block breadcrumbs %}
    {% blocktrans %}
        Sie befinden sich hier: <a href="/">fha-django-gallery</a> &raquo; 
        <a href="{{ category_index }}">Kategorien</a>
    {% endblocktrans %}
{% endblock %}

{% block content %}
    <h2>{% trans "Kategorien - Übersicht" %}</h2>
    <ul>
    {% for cat in categories %}
        <li>
            <h3><a href="{% url category_detail slug=cat.slug %}">{{ cat.name }}</a></h3>
            <p>{{ cat.content }}</p>
        </li>
    {% endfor %}
    </ul>
{% endblock %}
